package com.example.strategy;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

public class MainActivity {
    public static void main(String[] args) {
        Context context;
        context = new Context(new WeakRivalStategy());
        context.fighting();
        context = new Context(new CommonStategy());
        context.fighting();
        context = new Context(new StrongStategy());
        context.fighting();
    }
}